package org.redis.cluster.command;

import java.util.Collection;

import org.redis.cluster.config.ClientConfig;
import org.redis.cluster.transport.client.support.ClientPoolMonitor;

public class BadClientsCommandProcessor extends ClientsCommandProcessor {
	
	private final static String COMMAND="BADCLIENTS";
	
	@Override
	public String getSupportCommand() {
		return COMMAND;
	}

	@Override
	protected Collection<ClientConfig> getClients() {
		return ClientPoolMonitor.getBadConfigs();
	}
}